package com.lzh.chatnote.chat.domain.vo.response.group;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel("群成员信息")
@Data
public class GroupQueryResp {

    @ApiModelProperty("用户ID")
    private Long uid;

    @ApiModelProperty("在线状态 1在线 2离线")
    private Integer activeStatus;

    @ApiModelProperty("角色codes")
    private List<String> roleIds;

    @ApiModelProperty("最后一次上下线时间")
    private LocalDateTime lastOptTime;
}
